type net/http.http2serverConn
82 uses
net/http (current package)
h2_bundle.go#L4140: http2testHookGetServerConn func(*http2serverConn)
h2_bundle.go#L4142: http2testHookOnPanic func(sc *http2serverConn, panicVal interface{}) (rePanic bool)
h2_bundle.go#L4237: activeConns map[*http2serverConn]struct{}
h2_bundle.go#L4244: func (s *http2serverInternalState) registerConn(sc *http2serverConn) {
h2_bundle.go#L4253: func (s *http2serverInternalState) unregisterConn(sc *http2serverConn) {
h2_bundle.go#L4307: activeConns: make(map[*http2serverConn]struct{}),
h2_bundle.go#L4481: func (s *http2Server) serveConn(c net.Conn, opts *http2ServeConnOpts, newf func(*http2serverConn)) {
h2_bundle.go#L4487: sc := &http2serverConn{
h2_bundle.go#L4630: func (sc *http2serverConn) rejectConn(err http2ErrCode, debug string) {
h2_bundle.go#L4638: type http2serverConn struct {
h2_bundle.go#L4708: func (sc *http2serverConn) maxHeaderListSize() uint32 {
h2_bundle.go#L4716: func (sc *http2serverConn) curOpenStreams() uint32 {
h2_bundle.go#L4730: sc *http2serverConn
h2_bundle.go#L4755: func (sc *http2serverConn) Framer() *http2Framer { return sc.framer }
h2_bundle.go#L4757: func (sc *http2serverConn) CloseConn() error { return sc.conn.Close() }
h2_bundle.go#L4759: func (sc *http2serverConn) Flush() error { return sc.bw.Flush() }
h2_bundle.go#L4761: func (sc *http2serverConn) HeaderEncoder() (*hpack.Encoder, *bytes.Buffer) {
h2_bundle.go#L4765: func (sc *http2serverConn) state(streamID uint32) (http2streamState, *http2stream) {
h2_bundle.go#L4792: func (sc *http2serverConn) setConnState(state ConnState) {
h2_bundle.go#L4798: func (sc *http2serverConn) vlogf(format string, args ...interface{}) {
h2_bundle.go#L4804: func (sc *http2serverConn) logf(format string, args ...interface{}) {
h2_bundle.go#L4852: func (sc *http2serverConn) condlogf(err error, format string, args ...interface{}) {
h2_bundle.go#L4871: func (sc *http2serverConn) canonicalHeader(v string) string {
h2_bundle.go#L4907: func (sc *http2serverConn) readFrames() {
h2_bundle.go#L4939: func (sc *http2serverConn) writeFrameAsync(wr http2FrameWriteRequest, wd *http2writeData) {
h2_bundle.go#L4949: func (sc *http2serverConn) closeAllStreamsOnConnClose() {
h2_bundle.go#L4956: func (sc *http2serverConn) stopShutdownTimer() {
h2_bundle.go#L4963: func (sc *http2serverConn) notePanic() {
h2_bundle.go#L4978: func (sc *http2serverConn) serve(conf http2http2Config) {
h2_bundle.go#L5098: case func(*http2serverConn):
h2_bundle.go#L5124: func (sc *http2serverConn) handlePingTimer(lastFrameReadTime time.Time) {
h2_bundle.go#L5165: func (sc *http2serverConn) onSettingsTimer() { sc.sendServeMsg(http2settingsTimerMsg) }
h2_bundle.go#L5167: func (sc *http2serverConn) onIdleTimer() { sc.sendServeMsg(http2idleTimerMsg) }
h2_bundle.go#L5169: func (sc *http2serverConn) onReadIdleTimer() { sc.sendServeMsg(http2readIdleTimerMsg) }
h2_bundle.go#L5171: func (sc *http2serverConn) onShutdownTimer() { sc.sendServeMsg(http2shutdownTimerMsg) }
h2_bundle.go#L5173: func (sc *http2serverConn) sendServeMsg(msg interface{}) {
h2_bundle.go#L5186: func (sc *http2serverConn) readPreface() error {
h2_bundle.go#L5223: func (sc *http2serverConn) writeDataFromHandler(stream *http2stream, data []byte, endStream bool) error {
h2_bundle.go#L5270: func (sc *http2serverConn) writeFrameFromHandler(wr http2FrameWriteRequest) error {
h2_bundle.go#L5290: func (sc *http2serverConn) writeFrame(wr http2FrameWriteRequest) {
h2_bundle.go#L5354: func (sc *http2serverConn) startFrameWrite(wr http2FrameWriteRequest) {
h2_bundle.go#L5421: func (sc *http2serverConn) wroteFrame(res http2frameWriteResult) {
h2_bundle.go#L5489: func (sc *http2serverConn) scheduleFrameWrite() {
h2_bundle.go#L5545: func (sc *http2serverConn) startGracefulShutdown() {
h2_bundle.go#L5568: func (sc *http2serverConn) startGracefulShutdownInternal() {
h2_bundle.go#L5572: func (sc *http2serverConn) goAway(code http2ErrCode) {
h2_bundle.go#L5586: func (sc *http2serverConn) shutDownIn(d time.Duration) {
h2_bundle.go#L5591: func (sc *http2serverConn) resetStream(se http2StreamError) {
h2_bundle.go#L5602: func (sc *http2serverConn) processFrameFromReader(res http2readFrameResult) bool {
h2_bundle.go#L5659: func (sc *http2serverConn) processFrame(f http2Frame) error {
h2_bundle.go#L5712: func (sc *http2serverConn) processPing(f *http2PingFrame) error {
h2_bundle.go#L5736: func (sc *http2serverConn) processWindowUpdate(f *http2WindowUpdateFrame) error {
h2_bundle.go#L5772: func (sc *http2serverConn) processResetStream(f *http2RSTStreamFrame) error {
h2_bundle.go#L5791: func (sc *http2serverConn) closeStream(st *http2stream, err error) {
h2_bundle.go#L5834: func (sc *http2serverConn) processSettings(f *http2SettingsFrame) error {
h2_bundle.go#L5862: func (sc *http2serverConn) processSetting(s http2Setting) error {
h2_bundle.go#L5902: func (sc *http2serverConn) processSettingInitialWindowSize(val uint32) error {
h2_bundle.go#L5916: func (sc *http2serverConn) processData(f *http2DataFrame) error {
h2_bundle.go#L6013: func (sc *http2serverConn) processGoAway(f *http2GoAwayFrame) error {
h2_bundle.go#L6079: func (sc *http2serverConn) processHeaders(f *http2MetaHeadersFrame) error {
h2_bundle.go#L6190: func (sc *http2serverConn) upgradeRequest(req *Request) {
h2_bundle.go#L6244: func (sc *http2serverConn) checkPriority(streamID uint32, p http2PriorityParam) error {
h2_bundle.go#L6255: func (sc *http2serverConn) processPriority(f *http2PriorityFrame) error {
h2_bundle.go#L6263: func (sc *http2serverConn) newStream(id, pusherID uint32, state http2streamState) *http2stream {
h2_bundle.go#L6298: func (sc *http2serverConn) newWriterAndRequest(st *http2stream, f *http2MetaHeadersFrame) (*http2responseWriter, *Request, error) {
h2_bundle.go#L6367: func (sc *http2serverConn) newWriterAndRequestNoBody(st *http2stream, rp httpcommon.ServerRequestParam) (*http2responseWriter, *Request, error) {
h2_bundle.go#L6403: func (sc *http2serverConn) newResponseWriter(st *http2stream, req *Request) *http2responseWriter {
h2_bundle.go#L6425: func (sc *http2serverConn) scheduleHandler(st *http2stream, rw *http2responseWriter, req *Request, handler func(ResponseWriter, *Request)) error {
h2_bundle.go#L6446: func (sc *http2serverConn) handlerDone() {
h2_bundle.go#L6475: func (sc *http2serverConn) runHandler(rw *http2responseWriter, req *Request, handler func(ResponseWriter, *Request)) {
h2_bundle.go#L6522: func (sc *http2serverConn) writeHeaders(st *http2stream, headerData *http2writeResHeaders) error {
h2_bundle.go#L6554: func (sc *http2serverConn) write100ContinueHeaders(st *http2stream) {
h2_bundle.go#L6571: func (sc *http2serverConn) noteBodyReadFromHandler(st *http2stream, n int, err error) {
h2_bundle.go#L6581: func (sc *http2serverConn) noteBodyRead(st *http2stream, n int) {
h2_bundle.go#L6592: func (sc *http2serverConn) sendWindowUpdate32(st *http2stream, n int32) {
h2_bundle.go#L6597: func (sc *http2serverConn) sendWindowUpdate(st *http2stream, n int) {
h2_bundle.go#L6621: conn *http2serverConn
h2_bundle.go#L6677: conn *http2serverConn
h2_bundle.go#L6906: w.rws.conn.sendServeMsg(func(sc *http2serverConn) {
h2_bundle.go#L6932: w.rws.conn.sendServeMsg(func(sc *http2serverConn) {
h2_bundle.go#L7253: func (sc *http2serverConn) startPush(msg *http2startPushRequest) {
h2_bundle.go#L7397: func (sc *http2serverConn) countError(name string, err error) error {
 |
The pages are generated with Golds v0.8.5. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |